ExamPlay Light Logo
Sign In

Computer Science for IGCSE & O level - Databases (Section 5 - No. 15)

In an SQL query, what does the `DISTINCT` keyword do?
Sorts the results alphabetically.
Returns only unique values in a column.
Filters the results based on a condition.
Adds new data to the table.

Explanation

The `DISTINCT` keyword ensures that only unique values from a column are returned in the query results.

Comments (0)

Login To Comment
Advertisement
BrainBehindX Inc Logo
©2026; Powered By BrainBehindX Inc